﻿{include file="public/header" /}
<style>
	.am-dropdown{
		width: 100%;
		padding-left: 30px;
		margin-bottom: 10px;
	}
	.am-dropdown div{
		color: #000;
	}
</style>
<form method="post" class="form-x"  style="overflow: hidden">
	<div class="panel admin-panel" style="background: #fff">
		<br>
        <div class="am-dropdown">
			<div class="label">
				<label>可接单类型</label>
			</div>
			<div class="field">
				{foreach $order_array as $k => $v}
					<label class="button {if stripos($data,($k .","))}active{/if}" style="margin: 5px">
						<input type="checkbox" name="order_type[]" value="{$k}" {if stripos($data,($k .","))}checked{/if} /> {$v}
					</label>
				{/foreach}
			</div>
		</div>
		<div class="am-dropdown">
			<div class="label">
				<label></label>
			</div>
			<div class="field">
				<button class="button bg-main" type="submit">{:lang('form')['submit']}</button>
			</div>
		</div>
		</div>
	</form>
	<script>
		$("[name='status']").click(function(){
			var status = $("[name='status']:checked").val();
			if(status=='4'){
				$("#refuse").removeClass('hidden');
			}else{
				$("#refuse").addClass('hidden');
			}
		});
		var um = UM.getEditor('myEditor');
		
	</script>
{include file="public/footer" /}